package com.situ.mall.service;

import javax.servlet.http.HttpSession;

import com.situ.mall.common.ServerResponse;
import com.situ.mall.entity.User;

public interface IUserService {

	User selectByName(String username);

	User selectByEmail(String email);

	boolean register(User user);

	ServerResponse login(String username, String password, HttpSession session);

}
